package com.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.project.bean.MovieTicketBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "MovieTicketController",path = "/movieTicket")
public interface IMovieTickServer {
    @RequestMapping(value = "show")
    IPage<MovieTicketBean> findByItem(@PathVariable("pageNO")Integer pageNO,
                                      @PathVariable("movieName")String movieName,
                                      @PathVariable("cinemaName")String cinemaName,
                                      @PathVariable("movieTime")String movieTime,
                                      @PathVariable("rowNumber")Integer rowNumber);
}
